{% extends "./views/default.html" %}
{% block content %}
<h1>问卷统计</h1>

<div class="layui-form" id="list">
    <table class="layui-table">
      <colgroup>
        <col width="140">
        <col width="160">
        <col width="180">
        <col width="190">
        <col width="210">

        <col>
      </colgroup>
      <thead>
        <tr>
          <th>用户名</th>
          <th>问题一评分</th>
          <th>问题二评分</th>
          <th>问题三评分</th>
          <th>问题四评分</th>
          <th>问题五评分</th>
          <th>总分</th>

        </tr>
      </thead>
      <tbody>
  
        {% for score in scores %} 

        <tr>
          <td>{{score.personer}}</td>
          <td>{{score.sco1}}</td>
          <td>{{score.sco2}}</td>
          <td>{{score.sco3}}</td>      
          <td>{{score.sco4}}</td>         
          <td>{{score.sco5}}</td>         
          <td>{{score.sumscore}}</td>     
        </tr> 

        {% endfor %}
               
      </tbody>
    </table>
  </div>
  


{% endblock %}